<template>
	<div class="head_nav">
		<!-- start header -->
		<header>
			<div class="top center">
				<div class="right fr">
					<div class="gouwuche fr"><a href="">购物车</a></div>
					<div class="fr">
						<ul>
							<li><router-link to="../../login" v-if="">登录</router-link></li>
							<li>|</li>
							<li><router-link to="../../register" >注册</router-link></li>
							<li>|</li>
							<li><a href="">消息通知</a></li>
						</ul>
					</div>
					<div class="clear"></div>
				</div>
			</div>
		</header>
	<!--end header -->
	<!-- start banner_x -->
		<div class="banner_x center">
			<!--<a href="./index.html" target="_blank"><div class="logo fl"></div></a>-->
			<router-link to="/"  style='color: #fff;text-decoration: none;' >
				<div class="logo fl">
					<img src="../../../www/img/timg.jpg" />
				</div>
			</router-link>
			<router-link to="/"><div class="ad_top fl"></div></router-link>
			<div class="nav ">
				<ul>
					<li class="oneLi">
						<router-link to="/">
							<router-link to="/">二手数码</router-link>
							<ul class="twoUl">
								<li>二手手机</li>
								<li>二手手机</li>
								<li>二手手机</li>
							</ul>
							
						</router-link>
					</li>
					<li class="oneLi">
						<router-link to="/">
							<router-link to="/">鞋服配饰</router-link>
							<ul class="twoUl">
								<li>女鞋</li>
								<li>男鞋</li>
								<li>箱包</li>
							</ul>
						</router-link>
					</li>
					<li class="oneLi">
						<router-link to="/">
							<router-link to="/">代步工具</router-link>
							<ul class="twoUl">
								<li>摩托车</li>
								<li>自行车</li>
								<li>电动车</li>
							</ul>
						</router-link>
					</li>
					<li class="oneLi">
						<router-link to="/">
							<router-link to="/">书籍教材</router-link>
							<ul class="twoUl">
								<li>医学教材</li>
								<li>小说</li>
								<li>文学</li>
							</ul>
						</router-link>
					</li>
				</ul>
			</div>
			<div class="search fr">
				<form action="" method="post">
					<div class="text fl">
						<input type="text" class="shuru"  placeholder="小米6 小米MIX现货">
					</div>
					<div class="submit fl">
						<input type="submit" class="sousuo" value="搜索"/>
					</div>
					<div class="clear"></div>
				</form>
				<div class="clear"></div>
			</div>
		</div>
		
<!-- end banner_x -->
	</div>
</template>


<script>
	export default {
		name: 'index',
		data() {
			return {
				msg: ''
			}
		}
	}
	
</script>



<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
/*.head_nav{
	width: 100%;
	height: auto;
	border:1px solid red;
}*/
* {
	margin: 0;
	padding: 0;
	text-decoration: none;
	list-style-type: none;
	font-family: Times New Roman;
}

img {
	border: none;
}

a {
	border: none;
	text-decoration: none;
	color: #000;
}

.border {
	border: 1px solid red;
}

.center {
	margin: 0 auto;
}

.w {
	width: 1226px;
	margin: 0 auto;
}

.fl {
	float: left;
}

.fr {
	float: right;
}

.clear {
	clear: both;
}

.mt20 {
	margin-top: 20px;
}

.mt10 {
	margin-top: 10px;
}

.ml20 {
	margin-left: 20px;
}

.ml40 {
	margin-left: 40px;
}

.mr40 {
	margin-right: 40px;
}

.mb20 {
	margin-bottom: 20px;
}

.border2 {
	border: 2px solid #ff6700;
}

.ft20 {
	font-size: 20px;
}

.ftbc {
	color: #ff6700;
	font-weight: bold;
}

.pr {
	padding-right: 40px;
}

.h3 {
	font-size: 22px;
	font-weight: bold;
}


/*header*/

header {
	width: 100%;
	height: 40px;
	background: #333
}

header .top {
	width: 1226px;
	height: 40px;
	line-height: 40px;
}

header .top .left ul li {
	float: left;
	font-size: 12px;
	color: #ccc;
}

header .top .left ul li a {
	display: block;
	padding: 0 8px;
	font-size: 12px;
	font-family: Times New Roman;
	color: #b0b0b0;
}

header .top .left ul li a:hover {
	color: #fff;
}

header .top .right ul li {
	float: left;
	font-size: 12px;
	color: #ccc;
}

header .top .right ul li a {
	display: block;
	padding: 0 8px;
	font-size: 12px;
	font-family: Times New Roman;
	color: #b0b0b0;
}

header .top .right ul li a:hover {
	color: #fff;
}

header .top .right .gouwuche a {
	color: #fff;
}

header .top .right .gouwuche {
	margin: 0 20px;
	background: #424242;
	width: 120px;
	text-align: center;
	font-size: 12px;
	cursor: pointer;
	background: #ff6700;
	color: #fff;
}

header .top .right .gouwuche:hover {
	color: #000;
	background: #666;
}


/*banner_x*/

.banner_x {
	width: 1226px;
	height: 100px;
}

.banner_x img {
	
	
	margin-left: 15px;
	width: 150px;
	height: 100px;
}

.banner_x .ad_top {
	width: 50px;
	height: 100px;
	/*background: url('../image/yyymix.gif') no-repeat center center;*/
}

.banner_x .nav ul li {
	float: left;
	height: 100px;
	line-height: 100px;
}

.banner_x .nav ul li a {
	display: inline-block;
	color: #000000;
	font-size: 18px;
	padding: 0 10px;
}

.banner_x .nav ul li a:hover {
	color: rgb(255, 125, 78);
}

.banner_x .search {
	width: 308px;
	height: 100px;
	line-height: 100px;
}

.banner_x .search .text {
	width: 250px;
	height: 30px;
	line-height: 30px;
	font-size: 12px;
	margin-top: 35px;
	border: 1px solid #ccc;
}

.banner_x .search .text:hover {
	border-color: #ff6700;
}

.banner_x .search .text .shuru {
	border: none;
	width: 250px;
	height: 30px;
}

.banner_x .search .submit {
	width: 50px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	font-size: 12px;
	margin-top: 35px;
	border: 1px solid #ccc;
}

.banner_x .search .submit .sousuo {
	letter-spacing: 3px;
	text-align: center;
	width: 50px;
	height: 30px;
	border: none;
	background: none;
	cursor: pointer;
}

.banner_x .search .submit:hover {
	border-color: #ff6700;
	color: #ff6700;
}

.twoUl
{
	display: none;
}

.oneLi:hover .twoUl
{
	display: block;
}

.twoUl
{
	width: 300px;
	height: 100px;
	position: absolute;
	background: salmon;
	opacity: 0.3;
	border-radius: 0 0 10px 10px;
	/*top: 68px;
	left: 285px;*/
	/*border: 1px solid salmon;*/
}
.twoUl li
{
	margin-left: 10px;
	color: #000000;
	font-size: 16px;
	position: relative;
	top: -30px;
}





</style>